package com.cys;

import com.cys.MarkdownDocAdminApplication;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * Servlet初始化
 * */
public class ServletInitializer extends SpringBootServletInitializer {

	@Override
	protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
		return application.sources(MarkdownDocAdminApplication.class);
	}

	public static void main(String[] args) {
		SpringApplication.run(SpringApplicationBuilder.class, args);
	}

}
